.header{
    position:relative;
    height:100px;
    background-color: rgb(255, 255, 255);
}

.a-logo{
    width:56px;
    height:56px;
    /* outline: 1px solid #ccc; */
    background:url(..//assets/xiaomi_logo.png) no-repeat center center;
    background-size: contain;
    margin-top:22px;
    margin-right:172px;
}

.header-menu{
    height:100px;
    line-height:100px;
    font-size:16px;
    color:#333;
}

/*>直接子元素*/
.header-menu>a{
    margin:0 10px;
}

.header-submenu{
    position:absolute;
    border-top:1px solid #ccc;
    border-bottom:1px solid #ccc;
    background-color: #fff;
    width:100%;
    left:0;
    top:100px;
    z-index:40;
    display:none;
}

.header-goods{
    /* outline: 1px solid #000; */
    color:#333;
    text-align:center;
    width:204px;
    text-align:center;
    font-size:12px;
    line-height:12px;
}

.header-cover{
    height:120px;
    border-right:2px solid #eee;
    margin-top:30px;
}

.header-submenu a:last-child .header-cover{
    border:none;
}


.header-name{
    color:#333;
    padding-top:15px;
    /* outline: 1px solid black; */

}

.header-price{
    color:#ff6700;
    padding-top:10px;
    padding-bottom:30px;
    /* outline: 1px solid black; */
}

.header-menu:hover .header-submenu{
    display:block;
}

/* .header-menu>a:hover .header-submenu{
    为什么无法生效？？ 
    display:block;
} */

.header-search{
    margin-top:25px;
    position:relative;
    /* border:1px solid #ff6700; */
}

.header-search input{
    width: 245px;
    height: 50px;
    font-size:16px;
    padding:0 10px;
    border:1px solid #ccc;
    outline:none;
}

.header-searchicon{
    width: 55px;
    height: 50px;
    background-color: white;
    border:1px solid #ccc;
    border-left:none;
    color:#777;
}

.header-searchicon:hover{
    cursor:pointer;
    background-color: #ff6700;
    color:#fff;
    border-color:#ff6700;
}

.header-searchicon .iconfont{
    font-size:20px;
}

.header-suggest{
    position:absolute;
    width: 243px;
    border:1px solid #ff6700;
    top:51px;
    left:0px;
    background-color: #fff;
    color:#333;
    text-indent:15px;
    box-sizing: content-box;
    border-top:none;
    font-size:12px;
    z-index:40;
    display:none;
}

.header-suggest a{
    display:block;
    padding-top:6px;
    padding-bottom:6px;
    color:inherit;
}

.header-suggest a:hover{
    background-color: #eee;
}

.header-search input:focus~.header-suggest{
    display:block;
}
.header-search input:hover{
    border-color: #aaa;
}

.header-search input:hover + .header-searchicon{
    border-color: #aaa;
}

.header-search input:focus{
    border-color: #ff6700;
}

.header-search input:focus + .header-searchicon{
    border-color: #ff6700;
}


